<template>
  <div>
    <div class="describe">
      <div class="describe_title">说明：</div>
      <ul class="describe_item">
        <li>
          1、使用百度地图，需要在html文件的,头部head标签中添加百度地图的key,
        </li>
        <li></li>
      </ul>
    </div>
    <div class="list_box">
      <div class="list_item">
        <div class="echarts_box">
          <mapone></mapone>
        </div>
        <p class="path">
          路径：src\view\echarts\components\map\mapone.vue
          <!-- <el-button
            type="primary"
            plain
            autofocus
            @click="see(1)"
            size="mini"
            style="float:right;margin-top:10px"
            >功能描述</el-button
          > -->
        </p>
      </div>
      <div class="list_item">
        <div class="echarts_box">
          <searchMap></searchMap>
        </div>
        <p class="path">路径：src\view\echarts\components\map\searchMap.vue</p>
      </div>
      <div class="list_item">
        <div class="echarts_box">
          <searchBus></searchBus>
        </div>
        <p class="path">路径：src\view\echarts\components\map\searchBus.vue</p>
      </div>
    </div>
  </div>
</template>
<script>
import mapone from "./components/mapone";
import searchMap from "./components/searchMap.vue";
import searchBus from "./components/searchBus.vue";

export default {
  components: {
    mapone,
    searchMap,
    searchBus,
  },
  data() {
    return {
      activeName: "1",
      activeNum: "1",
    };
  },
  methods: {
    handleClick(tab, event) {
      this.activeNum = tab.name;
    },
  },
};
</script>

<style scoped>
.list_box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: flex-start;
  align-items: flex-start;
  overflow: auto;
  height: 62vh;
}
.list_item {
  display: inline-block;
  width: 48%;
  height: 400px;
  box-shadow: 0 0px 5px #1a9be6;
  border: #1a9be6 1px solid;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.describe {
  height: 100px;
  box-shadow: 0px 0px 5px #1a9be6;
  border-top: #1a9be6 1px solid;
  padding-top: 10px;
}
.describe_title {
  width: 100%;
  margin-left: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
  /* 直接将英文变成大写 */
  text-transform: uppercase;
  letter-spacing: 0.1ch;
  line-height: 1;
  padding-bottom: 0.5em;
  margin-bottom: 1rem;
  position: relative;
}
.describe_title:after {
  display: block;
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #1a9be6, #1a57e6);
  bottom: 0;
}

.describe {
  width: 98%;
  margin-top: 0;
  margin-left: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.describe_item {
  height: 60px;
  overflow-y: auto;
}
.describe_item li {
  margin-left: 1rem;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}
.water_item {
  width: 18%;
}
.path {
  height: 50px;
  line-height: 50px;
  white-space: wrap;
  font-size: 16px;
  padding: 0 10px;
  color: #333;
  background-color: #6ab7be;
  position: relative;
  z-index: 2;
}
.echarts_box {
  height: 350px;
}
</style>